FROM openjdk:8

COPY *.jar /ruoyi-admin.jar

CMD ["--server.port=8080"]

EXPOSE 8080

ENV SPRING_PROFILES_ACTIVE=test

ENTRYPOINT ["java", "-jar", "/ruoyi-admin.jar"]
